<template>
	<view>
		
		<view class="module" v-if="mjBgimg.brand_activity_rule">
			<uNavbar title="" bgColor="transparent" ></uNavbar>
			<image :src="mjBgimg.brand_activity_rule" mode=""></image>
		</view>
		<!-- 暂无数据 / 加载更多 -->
		<view class="nodata flex_ZC" v-else>
			<image  class="nodata_img"  src="../../static/image/noData.png" mode="aspectFill"></image>
			<text class="nodata_tit">暂无相关数据</text>
		</view>
	</view>
</template>

<script>
	import {secretConfig} from "../../api/secretRealm.js";
	export default {
		data() {
			return {
				levelImages: '',
				gradeInfo: {},
				mjBgimg:{}
			}
		},
		onLoad() {
			this.initConfig()
		},
		methods: {
			// 配置文件
			initConfig(){
				secretConfig({}).then(res => {
					console.log(11111,res);
					if (res.code == 1) {
						this.mjBgimg = res.data
					}
				})
			},
		},
	}
</script>

<style scoped>
	@font-face {
		font-family: 'iconfont2';
		src: url("~@/iconfont/YouSheBiaoTiHei.ttf");
	}
.module{
	position: relative;
	width: 750rpx;
	height: 100vh;
}
.module>image{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	/* opacity: 0.7; */
}

	
	.nodata {
		width: 100%;
		/* height: 800rpx; */
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 80rpx auto;
		/* background: #ffffff; */
		border-radius: 0 0 16rpx 16rpx;
	}
	
	.nodata_img {
		width: 290rpx;
		height: 240rpx;
	}
	
	.nodata_tit {
		font-size: 28rpx;
		color: #c0c4cc;
	}
	
	
	
</style>